package com.tsystems.school.jabber.DataBase.Entities;

import com.sun.istack.internal.NotNull;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by IntelliJ IDEA.
 * User: Kirill
 */
@Entity
@Table( name = "MessageType" )
public class MessageType  extends ManagedEntity{

	@Column(name="type")
	@NotNull
	private String type;

	public MessageType() {
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
